package com.ws.shop.dao;

import java.util.List;

import com.ws.shop.bean.Page;
import com.ws.shop.entity.Category;

public interface CategoryDao {

	public List<Category> findAllCategoryList();

	public void saveOrUpdate(Category category);

	/**
	 * 查询商品类型
	 * @param id
	 * @return
	 */
	public Category getCategory(int id);

	public Page findCategoryListByPage(int pageno, int pagesize,
			String categoryname);
	
}
